package hc.bre.log

import org.springframework.data.mongodb.core.mapping.Document
import java.time.LocalDateTime
import org.springframework.data.annotation.Id;

@groovy.transform.CompileStatic
@groovy.transform.ToString(includeNames=true, includePackage = false)
@Document('rulelog')
class RootRuleLog extends RuleLog{
	RootRuleLog(Closure rule) {
		super(rule);
	}

	@Id
	String id ;//= UUID.randomUUID();

	Object variables;
	LocalDateTime startTime = LocalDateTime.now();
	LocalDateTime endTime;

	List<OutputItem> outputs ;//= new LinkedList<OutputItem>();
}


